#include <iostream>
#include <iomanip>

using namespace std;

int main8() {

	for (int i = 1; i <= 9; i++) {
	
		for (int j = 1; j <= i; j++) {
		
			cout <<setw(2)<<right<<j<< " x" << setw(2)<<right << i << " =" << setw(2)<<left << i * j<<" ";
		}
		cout  << endl;
	
	}

	system("pause");
	return 0;
}